<?php
namespace App\Socket\Model;
use think\Model;

class User extends Model {
    protected $pk="uid";    
    protected $hidden = ["password"];    
    public function Room(){
        return $this->hasOne("Room","rid","rid");
    }
  
}
